
import Taro, {Component} from '@tarojs/taro'
import {View, Image } from '@tarojs/components'
import {observer, inject} from '@tarojs/mobx'

import './index.scss'

import {IStoreProps} from '../../store/Stores'

interface IHomeProps extends IStoreProps {
}

@inject("stores")
@observer
class Index extends Component<IHomeProps> {
  constructor(props) {
    super(props)
  }

  state = {
  }

  async componentWillMount() {
   
  }

  componentDidMount(): void {
  }

  componentDidShow() {
   
  }

  link = (url: string) => {
    navigateTo(url)
  }

  render() {
    return (
      <View className='index yy-index page-bg'>
        <Image className='swiper-wrap__img' src={require('../../assets/img/qlj.jpg')} />
      </View>
    )
  }
}

export default Index as ComponentType
